package com.dubbo;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserServiceProviderApplication {
	public static void main(String[] args) throws IOException {
		// 装载 配置文件
		@SuppressWarnings("resource")
		ClassPathXmlApplicationContext ctx = new ClassPathXmlApplicationContext("provider.xml");
		// 运行配置文件
		ctx.start();
		//让系统进入 阻塞状态
		System.in.read();
	}
}
